package com.power.poi.model;

import com.power.poi.annotation.Excel;

public class Student {

    @Excel(name = "编号",columnNum = 0)
    private int id;

    @Excel(name = "姓名",columnNum = 1)
    private String name;

    @Excel(name = "年龄",columnNum = 2)
    private int age;

    @Excel(name = "性别",columnNum = 3,replace = {"男_1","女_2"})
    private int gender;


    public Student(){

    }
    public Student(int id,String name,int age,int gender){
        this.id = id;
        this.name = name;
        this.age = age;
        this.gender = gender;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public int getAge() {
        return age;
    }

    public void setAge(int age) {
        this.age = age;
    }

    public int getGender() {
        return gender;
    }

    public void setGender(int gender) {
        this.gender = gender;
    }
}
